<include file="__THEME__/header" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../Public/space.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/space_index.js"></script>
<style>
        .ta_wqfw {
                background:transparent url(../Public/images/privacy_bg.gif) no-repeat scroll center top;
                font-size:14px;
                height:60px;
                overflow:hidden;
                padding:25px 0 0 75px;
        }
</style>
<link href="__PUBLIC__/js/pagination/pagination.css" rel="stylesheet" type="text/css" />

<div class="content"><!-- 内容 begin  -->

        <include file="__THEME__/apps" />


        <div class="main"> <!-- 右侧内容 begin  -->


                
                <div class="page_title"> <!-- page_title begin -->
                        <div class="left" style="width:66px;"><span class="headpic50"><a href="__TS__/space/{$uid}"><img src="{$uid|getUserFace}" /></a></span></div>
                        <div class="left" style="width:765px;">
                                <h2><span  class="right fn f12px"><a href="javascript:history.back( -1 )">返回上一页</a></span>{$uid|getUserName}的留言板</h2>
                                <p><a href="__TS__/space/{$uid}">{$uid|getUserName}的空间</a>&nbsp;&nbsp;<span class="cGray2">|</span>&nbsp;&nbsp;<a href="__TS__/Notify/write/uid/{$uid}">发送消息</a></p>
                        </div>
                        <div class="c"></div>
                </div><!-- page_title end -->
                <div class="cc">
                        <div class="Guestbook" id="wall"><!-- 留言板 begin  -->
                                <div class="tit"><span class="pl5">发表留言</span></div>
                                <div class="GB_box">
                                        <textarea name="textarea2" cols="" id="wall_con"></textarea>
                                        <input type="button" class="btn_b" value="留 言" id="sub_button" onclick="wall()"/>
                                        (每条最多2000字)     
                                        <label><input type="checkbox" name="privacy" id="wall_privacy" value="1"/>悄悄话</label>
                                        <input type="hidden" name="uid" id="space_uid" value="{$uid}">
                                        <input type="hidden" id="my_name2" value="{$my_name}">
                                        <span style="display:none" id="my_face2"><img src="{$mid|getUserFace='middle'}" /></span>
                                </div>
                        </div>
                        <div class="GBList" id="list_wall">

                                <volist name="my_walls['data']" id="wall">
                                        <div class="Gli" id="wall_item_{$wall.id}">
                                                <div class="user_img"><span class="headpic50"><a href='__TS__/space/{$wall.fromUserId}' class="tips" rel="__TS__/Index/userInfo/uid/{$wall.fromUserId}"><img src="{$wall.fromUserId|getUserFace}" /></a></span></div>
                                                <div class="LC">
                                                        <div class="MC">
                                                                <h4 class="tit_Critique lh25 mb5 pl5"><span class="right"><a href="javascript:wall_reply_dis({$wall.id})">回复</a>
                                                                                <php>if($mid == $uid || $mid == $wall["fromUserId"]){</php>&nbsp;<a href="javascript:wall_del({$wall.id})">删除</a>
                                                                                <php>}</php></span><a href="__TS__/space/{$wall.fromUserId}"><strong>{$wall.fromUserName}</strong></a><span class="cGray2">{$wall.cTime|friendlyDate="full"}</span><span><php>if($wall["privacy"] == 1){</php><font color="red">【悄悄话】</font><php>}</php></span></h4>
                                                                <p class="WB">
                                                                        {$wall.content|textarea_output}
                                                                </p>
                                                                <a id="d-{$vo.id}"href='###' onclick="deleteMini('{$vo.id }')" class="del" title="删除" style="display:none;">删除</a>            </div>
                                                        <div class="RC">
                                                                <span id="wall_reply_list_{$wall.id}">
                                                                        <sublist name="wall['replys']" id="reply">
                                                                                <div class="RLI">
                                                                                        <div class="user_img"><span class="pic38"><a href="__APP__/space/{$reply.fromUserId}" class="tips" rel="__TS__/Index/userInfo/uid/{$reply.fromUserId}" ><img src="{$reply.fromUserId|getUserFace}" /></a></span></div>
                                                                                        <div class="RLC">
                                                                                                <h4 class="tit_Critique lh20 mb5 pl5"> <a href="__APP__/space/{$reply.fromUserId}"><strong>{$reply.fromUserName}</strong></a><span class="cGray2">{$reply.cTime|friendlyDate="full"}</span></h4>
                                                                                                <p>{$reply.content|textarea_output}</p>
                                                                                        </div>
                                                                                        <div class="c"></div>
                                                                                </div>
                                                                        </sublist>
                                                                </span>



                                                                <div class="RLI bg01" style="display:none" id="wall_reply_{$wall.id}">
                                                                        <div class="user_img"><span class="pic38"><img src="{$mid|getUserFace}" /></span></div>
                                                                        <div class="RLC">
                                                                                <div class="input_box">
                                                                                        <textarea name="textarea" cols="" style="height:50px; line-height:18px; width:99%" id="wall_reply_con_{$wall.id}"></textarea>
                                                                                        <php>if($wall["privacy"] == 1){</php>
                                                                                        <input type="checkbox" name="privacy" id="wall_privacy_{$wall.id}" value="1" checked="true" disabled="true"/>悄悄话
                                                                                        <php>}</php>
                                                                                        <input type="button" id="reply_button" class="btn_b mt5" value="回 复" onclick="wall_reply({$wall.id})"/><input type="button" class="btn_w mt5" value="取 消" onclick="wall_reply_cancel({$wall.id})"/>
                                                                                </div>
                                                                        </div>
                                                                        <div class="c"></div>
                                                                </div>

                                                        </div>
                                                </div>
                                                <div class="c"></div>
                                        </div>
                                </volist>
                                <div id="Pagination" class="pagination">{$my_walls['html']}</div>
                        </div>
                        <!-- 留言板 end  -->
                </div>
                <div class="c"></div>
        </div><!-- 右侧内容 end  -->

        <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
